/**
 * @date 3:03:37 PM
 * EducationStudentQuestionResponse.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.beans;
import javax.persistence.JoinColumn;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qs.education.bean.api.ResponseBean;
import com.qs.education.bean.entity.EducationAnswer;
import com.qs.education.bean.entity.EducationHomeWorkQuestion;
import com.qs.education.bean.entity.EducationStudent;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * @class EducationStudentQuestionResponse	
 * @author Warren
 * @description
 * @date Nov 15, 2018 
 */
@Data
@EqualsAndHashCode(callSuper=true)
public class EducationStudentQuestionResponse extends ResponseBean{
	private Long id;
	
	@JsonIgnoreProperties(value = { "question", "homework" })
	private EducationHomeWorkQuestion homeworkQuestion;
	
	@JsonIgnoreProperties(value = { "school", "groups", "grade", "clazz" })
	private EducationStudent student;
	
	@JoinColumn(name = "answer_id")
	private EducationAnswer answer;
}
